package com.zhuoyue.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuoyue.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 家庭对象 tbl_home
 *
 * @author hewenze
 * @date 2020-08-07
 */
@Data
public class TblHomeVo //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 家庭名称
     */
    @Excel(name = "家庭名称")
    private String homeName;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String account;

    /**
     * 用户名称
     */
    @Excel(name = "昵称")
    private String nickName;

    /**
     * 房间数
     */
    @Excel(name = "房间数")
    private String roomCount;

    /**
     * 关系类型
     */
    @Excel(name = "关系类型")
    private String relationType;

    /**
     * 图片地址
     */
    private String imgUrl = "https://www.img.zyzncloud.com/UserHeadImg/default.jpg";

    @Excel(name = "位置")
    private String position;

    @Excel(name = "所属组织")
    private String deptName;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    private String organizationCode;

    private Integer hotelOrderNum;
}
